<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .search-bar {
            width: 260px;
            height: 40px;
            overflow: hidden;
            margin: 100px auto;
            border: 1px solid #3f48cc;
            border-radius: 20px;
            box-sizing: border-box;
            display: flex;
            justify-content: space-between;
        }
        
        .search-box {
            width: 130px;
            height: 30px;
            margin-top: 5px;
        }
        
        .btn {
            width: 60px;
            height: 40px;
            text-align: center;
            line-height: 40px;
            box-sizing: border-box;
            color: #fff;
            background: #3f48cc;
            border-radius: 20px;
            font-size: 14px;
        }
        
        input {
            border: 0;
            margin-left: 10px;
            outline: none;
        }
    </style>
</head>

<body>
    <div class="search-bar">
        <div class="search-box">
            <input type="text" name="" id="" placeholder="请输入学校名称">
        </div>
        <div class="btn">查看</div>
    </div>


</body>

</html>